package com.shengyin.ec.model.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "district")
public class District extends BaseEntity {
	@Column(nullable=false,length=30)
	private String districtName;
	private int parentCityId;
	public String getDistrictName() {
		return districtName;
	}
	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}
	public int getCityId() {
		return parentCityId;
	}
	public void setCityId(int cityId) {
		this.parentCityId = parentCityId;
	}
}
